Package-level declarations

Properties

Link copied to clipboard

Default progression of wave height (whether gradual or not)

Link copied to clipboard

Default track thickness

Link copied to clipboard

Default animation configurations for various properties of the wave

Link copied to clipboard

Default wave height

Link copied to clipboard

Default wave length

Link copied to clipboard

Default wave thickness

Link copied to clipboard

Default wave velocity (speed and direction)

Functions

Link copied to clipboard
fun WavySlider(value: Float, onValueChange: (Float) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, valueRange: ClosedFloatingPointRange<Float> = 0f..1f, onValueChangeFinished: () -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: SliderColors = SliderDefaults.colors(), waveLength: Dp = SliderDefaults.WaveLength, waveHeight: Dp = SliderDefaults.WaveHeight, waveVelocity: Pair<Dp, WaveDirection> = SliderDefaults.WaveVelocity, waveThickness: Dp = SliderDefaults.WaveThickness, trackThickness: Dp = SliderDefaults.TrackThickness, incremental: Boolean = SliderDefaults.Incremental, animationSpecs: WaveAnimationSpecs = SliderDefaults.WaveAnimationSpecs)

A wavy slider much like the Material Design 2 slider.